﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SuperJoe.Framework.UnitOfWorkSql
{
    public class SqlEntryCommand : UOWCommand
    {
        public SqlEntryCommand() : this(null)
        { }

        public SqlEntryCommand(string sql, IDictionary<string, object> parameters = null)
        {
            this.Sql = sql;

            this.Parameters = parameters ?? new Dictionary<string, object>();
        }

        public string Sql { get; set; }

        public IDictionary<string, object> Parameters { get; set; }
    }
}
